//
//  UserHeadInfoCell.h
//  HotWord
//
//  Created by Rainbow on 7/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ITTImageView.h"
#import "User.h"
@protocol UserHeadInfoCellDelegate;
@interface UserHeadInfoCell : UITableViewCell<UITextFieldDelegate>

@property (retain, nonatomic) IBOutlet UITextField *nickNameTextField;
@property (retain, nonatomic) IBOutlet ITTImageView *headImageView;
@property (retain, nonatomic) IBOutlet ITTImageView *headImageView1;
@property (retain, nonatomic) IBOutlet ITTImageView *headImageView2;
@property (assign, nonatomic) id<UserHeadInfoCellDelegate> delegate;

- (void)setUser:(User *)user;

@end

@protocol UserHeadInfoCellDelegate <NSObject>

@optional
- (void)UserHeadInfoCellBeginEdit:(UserHeadInfoCell *)cell;

- (void)UserHeadInfoCellEndEdit:(UserHeadInfoCell *)cell;

- (void)UserHeadInfoCellHeadDidSelected:(UserHeadInfoCell *)cell selectIndex:(NSInteger)index;

@end